package com.pj.wisdomlogistics.mvp.model;


import com.pj.wisdomlogistics.entity.TakeoutMenuInfo;
import com.pj.wisdomlogistics.entity.WeekSsMenuInfo;
import com.pj.wisdomlogistics.entity.response.BaseResponse;
import com.pj.wisdomlogistics.mvp.frame.MvpModel;

import java.util.List;

import rx.Observable;


public class TakeoutMealModel extends MvpModel {
    public Observable<BaseResponse<TakeoutMenuInfo>> findOutFoodList(int place) {
        return mApiService.findOutFoodList(place);
    }

    public Observable<BaseResponse<List<WeekSsMenuInfo>>> findCookFoodList() {
        return mApiService.findCookFoodList();
    }

    public Observable<BaseResponse> submitFoodApply(String cookFood , String outFood , String userId , int place) {
        return mApiService.submitFoodApply(cookFood , outFood, userId , place);
    }

    public Observable<BaseResponse<String>> getTimestamp(){
        return mApiService.getTimestamp();
    }
}
